package com.jia.train.seat.service;

import com.jia.train.global.page.PageResponse;
import com.jia.train.seat.request.DailyTripsQueryRequest;
import com.jia.train.seat.request.DailyTripsSaveRequest;
import com.jia.train.seat.response.DailyTripsQueryResponse;
import com.jia.train.seat.response.DailyTripsSaveResponse;

import java.util.Date;
import java.util.List;

public interface DailyTripsService {

    DailyTripsSaveResponse insert(DailyTripsSaveRequest request);

    PageResponse<DailyTripsQueryResponse> selectPage(DailyTripsQueryRequest request);

    List<DailyTripsQueryResponse> selectList();

    void deleteDailyTrips(Long id);

    void genDailyTrip(Date date);
}
